package com.study.web.service.sysrole.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.study.common.base.dao.BaseDao;
import com.study.common.base.service.BaseServiceImpl;
import com.study.web.dao.sysrole.SysRoleDao;
import com.study.web.entity.SysRole;
import com.study.web.service.sysrole.SysRoleService;

/**
 * SysRoleServiceImpl.java
 * @author yaojinshan
 * @since 2018年6月11日上午11:32:23
 */
@Service("sysRoleService")
public class SysRoleServiceImpl extends BaseServiceImpl<SysRole> implements SysRoleService {
	@Resource 
	private SysRoleDao sysRoleDao;
	@Override
	protected BaseDao<SysRole> getDao() {
		return sysRoleDao;
	}
	
	public long batchDeleteRole(List<Long> idList){
		return sysRoleDao.batchDeleteRole(idList);
	}

}
